using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Objects;
using BAL;
using System.Collections.Generic;

public partial class Customer_UCControls_UCPhuongThucThanhToan : System.Web.UI.UserControl
{
    public static string srtPath;

    public static DangKy ItemDangKy = new DangKy();
    public static List<DangKy> ListDangKy = new List<DangKy>();

    public static  List<PhuongThucThanhToan> ListPhuongThucThanhToan;

    protected void Page_Load(object sender, EventArgs e)
    {

        if (!IsPostBack)
        {
            LoadPhuongThucThanhToan();
        }
    }
  
    public string PathImage()
    {
        return srtPath = "Customer/Theme/images";
    }

    public void LoadPhuongThucThanhToan()
    {

        ListPhuongThucThanhToan = new List<PhuongThucThanhToan>();
        ListPhuongThucThanhToan = BAL.BALPhuongThucThanhToan.GetAllItem();
        dtlPhuongThucThanhToan.DataSource = ListPhuongThucThanhToan;
        dtlPhuongThucThanhToan.DataBind();
       
    }

    protected void dtlPhuongThucThanhToan_ItemCommand(object source, DataListCommandEventArgs e)
    {
        if (e.CommandName == "ChiTiet")
        {

        }
    }
}
